// const Account = () => import('../../components/user/Account');
// const UserInfo = () => import('../../components/user/UserInfo');
// const ChooseLogin = () => import('../../components/user/ChooseLogin');
// const RegistPhone = () => import('../../components/user/RegistPhone');
// const Regist = () => import('../../components/user/Regist');
// const Setting = () => import('../../components/user/Setting');
// const ForgetPwdPhone = () => import('../../components/user/ForgetPwdPhone');
// const ForgetPwd = () => import('../../components/user/ForgetPwd');
// const PhoneLogin = () => import('../../components/user/PhoneLogin.vue');
// const MallHome = () => import('../../components/store/mall/MallHome');
// const Home = () => import('../../components/store/Home');
// const ReceiveAddress = () => import('../../components/user/userInfo/ReceiveAddress');
// const MyActList = () => import('../../components/act/MyActList');
// const Collect = () => import('../../components/item/Collect');
// const LookRecord = () => import('../../components/item/LookRecord');
// const OrderList = () => import('../../components/trade/order/OrderList');
const LoginPage = () => import ("../../pages/user/Login");
const Setting = () => import('../../pages/user/Setting');
const UserMsg = () => import('../../pages/user/UserMsg');
const UserInfo = () => import('../../pages/user/UserInfo');
const ActivityRecord = () => import('../../pages/user/ActivityRecord');
/*
* userAuth：是否是需要用户验证（this.$store.state.currentUser）
* thirdAuth：是否是需要的三方登录验证
* */
export const routes_user = [
    {
        path: '/to/login',
        component: LoginPage,
        meta: {
            title: '登录',
            userAuth: false,
            thirdAuth: false,
        },
    },
    {
        path: '/to/user/account/setting',
        component: Setting,
        meta: {
            title: '设置',
            userAuth: true,
            thirdAuth: false,
        },
    },
    {
        path: '/to/user/msg',
        component: UserMsg,
        meta: {
            title: '个人信息',
            userAuth: true,
            thirdAuth: false
        },
    },
    {
        path: '/to/user/info',
        component: UserInfo,
        meta: {
            title: '个人中心',
            userAuth: true,
            thirdAuth: false,
        },
    },
    {
        path: '/to/user/activityRecord',
        component: ActivityRecord,
        meta: {
            title: '活动记录',
            userAuth: true,
            thirdAuth: false,
        },
    },

]
